package ${package}.${moduleName}.respository;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ${package}.${moduleName}.query.${ClassName}Query;
import ${package}.${moduleName}.entity.${ClassName};

import java.util.List;

/**
 * ${tableComment}
 *
* @author ${author}
* @since ${date}
 */
public interface ${ClassName}Repository{

    Page<${ClassName}>  page(${ClassName}Query query);

    ${ClassName} get${ClassName}ById(String id);

    int save${ClassName}(${ClassName} entity);

    int update${ClassName}(${ClassName} entity);

    int deleteByIds(List<String> idList);
}